package com.tomehay.termprojectmanage_server.pojo.Model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tomehay
 * @since 2023-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PersonalTask {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer groupTaskId;

    private Integer director;

    private String name;

    private String detail;

    private String document;

    private String code;

    public static Map<Integer, String> mMap = new HashMap<Integer, String>(){{
        put(0, "未完成");
        put(1, "已完成");
        put(2, "已提交");
    }};

    private Integer status;

    private String personalTaskNo;

    @TableField("startTime")
    private LocalDateTime starttime;

    @TableField("endTime")
    private LocalDateTime endtime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
